export const stateObjToArray = (obj) => {
  return Object.keys(obj).map(k => {
    return {
      label: obj[k].text,
      value: k
    }
  })
}